import request from '@/utils/request'

// 审核列表
export function auditList(query) {
  return request({
    url: '/jbl-order/api/admin/v1/withdraw/selectByConditions',
    method: 'get',
    params: query
  })
}

// 审核同意或者拒绝提现申请
export function auditUpdate(data) {
  return request({
    url: '/jbl-order/api/admin/v1/withdraw/updateById',
    method: 'post',
    data
  })
}

// 审核列表详情
export function auditDetail(query) {
  return request({
    url: '/jbl-order/api/admin/v1/order/getOrderByIds',
    method: 'get',
    params: query
  })
}
